<!--
 * @Description: 音乐播放
 * @Author: charles
 * @Date: 2021-08-17 11:38:12
 * @LastEditors: charles
 * @LastEditTime: 2021-08-17 11:49:07
-->
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>音乐播放</title>
  <style>
    @keyframes rotate {
      from {
        transform: rotate(0deg);
      }
      to {
        transform: rotate(360deg);
      }
    }
    .box {
      width: 200px;
      height: 200px;
      border-radius: 50%;
      overflow: hidden;
      animation: rotate 8s infinite linear;
    }
    .box:hover {
      animation-play-state: paused;
    }
    .box img {
      width: 100%;
    }

  </style>
</head>
<body>
  <div class="box">
    <img src="./images/rxq.jpeg" alt="">
  </div>

  <div>
    <audio src="./resources/birthday.mp3" controls></audio>
  </div>
</body>
</html>
